#include <stdio.h>
 
int main()
{
    int a = 0;
    int b = 3;
    int c = 5;
    int d = (a = b + 2, c = a - 4, b = c + 2);
    //a = 3 + 2 = 5, c = 5 - 4 = 1, b = 1 + 2 = 3, d = 3
    printf("d = %d\n", d);
    return 0;
}